package com.example.demo.pojo;


import java.io.Serializable;

public class THobby implements Serializable {

  private long id;
  private transient long uid;
  private String hobby;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getUid() {
    return uid;
  }

  public void setUid(long uid) {
    this.uid = uid;
  }


  public String getHobby() {
    return hobby;
  }

  public void setHobby(String hobby) {
    this.hobby = hobby;
  }

  @Override
  public String toString() {
    return "THobby{" +
            "id=" + id +
            ", uid=" + uid +
            ", hobby='" + hobby + '\'' +
            '}';
  }
}
